package com.ms.game.gmtool;


public enum PurchasePlatformType {
	/**
	 * google play
	 */
	GOOGLEPLAY, 
	/**
	 * ios apple store
	 */
	APPSTORE, 
	
	/**
	 * 不認識的平台
	 */
	NONE;

	public static PurchasePlatformType getPlatformType(String pid){
		try{
			return PurchasePlatformType.valueOf(pid);
		}catch (Exception e){
			return PurchasePlatformType.NONE;
		}
	}
}
